﻿using System.Collections.Generic;

namespace ToolKitIESiteList.Library
{
    public class IEModeDataItemUriComparer : IEqualityComparer<IEModeDataItem>
    {
        public bool Equals(IEModeDataItem x, IEModeDataItem y)
        {
            return x.Url.Equals(y.Url);
        }

        public int GetHashCode(IEModeDataItem obj)
        {
            return obj.Url.GetHashCode();
        }
    }

}
